The GtkStack and GtkStackSwitcher code did not really
follow GTK+ conventions for includes. Fix that, and also
fix up a case of gpointer vs gpointer* confusion
in gtkstack.c.
#ifndef __GTK_STACK_H__
#define __GTK_STACK_H__
-#include <gtk/gtk.h>
+#include <gtk/gtkcontainer.h>
G_BEGIN_DECLS
#include "config.h"
#include "gtkstackswitcher.h"
+#include "gtkradiobutton.h"
+#include "gtklabel.h"
+#include "gtkorientable.h"
#include "gtkprivate.h"
#include "gtkintl.h"
}
static void
-update_needs_attention (GtkWidget *widget, GtkWidget *button, gpointer *data)
+update_needs_attention (GtkWidget *widget, GtkWidget *button, gpointer data)
{
GtkContainer *container;
gboolean needs_attention;
#ifndef __GTK_STACK_SWITCHER_H__
#define __GTK_STACK_SWITCHER_H__
-#include "gtkstack.h"
+#include <gtk/gtkbox.h>
+#include <gtk/gtkstack.h>
G_BEGIN_DECLS